import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import router from "./router/index";
import store from "../src/store";
import {
  Button,
  Icon,
  Tabbar,
  TabbarItem,
  Search,
  Swipe,
  SwipeItem,
  NavBar,
  Sidebar,
  SidebarItem,
  List,
  PullRefresh,
  Picker,
  Popup,
  Form,
  Field,
  CellGroup,
  Notify,
  Uploader,
  Badge,
  Card,
  SubmitBar,
  Dialog,
  Checkbox,
  CheckboxGroup,
  AddressEdit,
  AddressList,
  Rate,
} from "vant";
import "vant/lib/index.css";
import "./style/font_icon/iconfont.css"; //引入字体图标文件
import "./style/index.scss"; //引入全局样式文件
createApp(App)
  .use(router)
  .use(Button)
  .use(Icon)
  .use(Tabbar)
  .use(TabbarItem)
  .use(Search)
  .use(Swipe)
  .use(store)
  .use(SwipeItem)
  .use(NavBar)
  .use(Uploader)
  .use(Sidebar)
  .use(SidebarItem)
  .use(List)
  .use(PullRefresh)
  .use(Picker)
  .use(Popup)
  .use(Form)
  .use(Field)
  .use(CellGroup)
  .use(Notify)
  .use(Badge)
  .use(Card)
  .use(SubmitBar)
  .use(Dialog)
  .use(Checkbox)
  .use(CheckboxGroup)
  .use(AddressEdit)
  .use(AddressList)
  .use(Rate)
  .mount("#app");
